package com.artezio.buyndrive.service.impl;

import com.artezio.buyndrive.dao.CarserviceDAO;
import com.artezio.buyndrive.dao.CityDAO;
import com.artezio.buyndrive.dao.TurnDAO;
import com.artezio.buyndrive.domain.Carservice;
import com.artezio.buyndrive.domain.Turn;
import com.artezio.buyndrive.domain.Users;
import org.springframework.stereotype.Service;
import com.artezio.buyndrive.service.CarserviceService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;


@Service
public class CarserviceServiceImpl extends AbstractService<Carservice, CarserviceDAO> implements CarserviceService{

    
    @Autowired
    @Override
    public void setDao(CarserviceDAO dao) {
        super.dao = dao;
    }   
    
    @Transactional
    @Override
    public List<Carservice> getList(Users user) {
        return dao.getListCarservices(user);
    }
}
